package com.ym.b2b.buyer.service;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.buyer.sqlbean.EmCBuyer;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

public interface EmCBuyerService {

    public Result searchPageEmCBuyer(Page<EmCBuyer> page, EmCBuyer emCBuyer) throws DataAccessException;

    public Result showEmCBuyerDetail(EmCBuyer emCBuyer) throws DataAccessException;

    public Result insertBuyer(EmCBuyer emCBuyer) throws DataAccessException;

    public Result updateBuyer(EmCBuyer emCBuyer) throws DataAccessException;

    Result deleteEmCBuyer(EmCBuyer emCBuyer) throws DataAccessException;

    public Result editMultipleEmCBuyersStatus(String buyerIdList) throws DataAccessException;

    public Result deleteMultipleEmCBuyers(String buyerIdList) throws DataAccessException;

}
